﻿<Window x:Class="ConsoleHoster.Common.View.Popups.ConfirmationPopup"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        xmlns:cv="clr-namespace:ConsoleHoster.Common.View.Converters"
        mc:Ignorable="d"
        SizeToContent="WidthAndHeight"
        ShowInTaskbar="False"
        ResizeMode="NoResize"
        Background="#FFC5D9E4" MinWidth="200" MaxWidth="500" WindowStartupLocation="CenterOwner">
    <Grid Margin="7">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <TextBlock Text="Are you sure ?" x:Name="txbQuestion" FontWeight="Bold" HorizontalAlignment="Left" TextWrapping="Wrap" />

        <Expander Grid.Row="1" x:Name="expDetails" IsExpanded="False" HorizontalAlignment="Left">
            <TextBlock Text="More details" x:Name="txbDetails" TextWrapping="Wrap" />
        </Expander>

        <StackPanel Orientation="Horizontal" Grid.Row="2" HorizontalAlignment="Center" Margin="0, 5, 0, 0">
            <Button x:Name="btnYes" Content="_Yes" Width="100" Click="btnYes_Click" Cursor="Hand" Height="20" VerticalAlignment="Bottom" />
            <Button x:Name="btnNo" Content="_No" Width="100" Margin="3, 0, 0, 0" Click="btnNo_Click" Cursor="Hand" />
        </StackPanel>
    </Grid>
</Window>
